package annotation03;

/**
 * @注解名(给注解中属性赋值)
 */

@MyAnnotation(value="老李")
public class Person {


	@MyAnnotation("老王")
	private int age;


	@MyAnnotation02(12)
	public int getAge() {
		return age;
	}

	@MyAnnotation02(value=12)
	public void setAge( int age) {//用在形参age上
		this.age = age;
	}
}
